#ifndef IMAGE2BINWIDGET_H
#define IMAGE2BINWIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QTableView>
#include <QStandardItemModel>
#include <QGridLayout>
#include <QSpinBox>
class Image2binWidget : public QWidget
{
    Q_OBJECT
private:
    QPushButton *loadFileButton;
    QPushButton *transButton;

    QLabel *imageLable;
    QLabel *outImageWidthLabel;
    QLabel *outImageHeightLabel;
    QSpinBox *outImageWidthSpinBox;
    QSpinBox *outImageHeightSpinBox;
    QStringList fileNames;
private slots:
    void LoadImageSlot();
    void TransImageSlot();


public:
    Image2binWidget(QWidget *parent = nullptr);
    ~Image2binWidget();
};
#endif // IMAGE2BINWIDGET_H
